<?php
namespace Core\Datastorage;

/**
* Property class definition.
*
* @author Didelot Guillaume
* @version 1.0.0
* @copyright Copyright (c) 2015, Didelot Guillaume
*/
class Property 
{
	/**
	* @property string $Name The property name
	*/
	public $Name;
	
	/**
	* @property string $Column The column name
	*/
	public $Column;
	
	/**
	* @property string $Type The column type
	*/
	public $Type;
	
	/**
	* @property boolean $IsComplex Is a complex property 
	*/
	public $IsComplex;
	
	/**
	* @property string $Alias This alias is computed from the parent level of the architecture
	*/
	public $Alias;
	
	/**
	* Default constructor
	*
	* @param string $name The property name 
	* @param string $column The column name 
	* @param string $type The column type
	* @param boolean $isComplex Is a complex property 
	*/
	public function __construct($name, $column, $type, $isComplex = false)  
    {  
		$this->Name = $name;
		$this->Column = $column;
		$this->Type = $type;
		$this->IsComplex = $isComplex;
    }
}
?> 